package com.sh.data.engine.domain.workspace.index.model.mapper;

import com.sh.data.engine.domain.authority.model.domain.UserProjectDomain;
import com.sh.data.engine.repository.dao.authority.entity.UserProjectEntity;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface UserProjectDomainMapper {
    UserProjectDomain map(UserProjectEntity entity);

    List<UserProjectDomain> map(List<UserProjectEntity> projectEntities);

}
